package com.gaogzhen.designPattern.immutableObject.mmscVasp;

/**
 * @author Administrator
 * @version 1.0
 * @description 彩信中心
 * @date 2022-10-13 10:34
 * 模式角色：Immutable Object
 */
public class MMSCInfo {
    /**
     * 设备编号
     */
    private final String deviceID;

    /**
     * 彩信中心URL
     */
    private final String url;

    public MMSCInfo(String deviceID, String url) {
        this.deviceID = deviceID;
        this.url = url;
    }

    public MMSCInfo(MMSCInfo mmscInfo) {
        deviceID = mmscInfo.deviceID;
        url = mmscInfo.url;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public String getUrl() {
        return url;
    }
}
